package java101.Cheats;

public class CallingMethodsWithStatic {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
				
		System.out.println("Methods: ");
		int temp = 212;
		double result = convertFtoC(temp);
		System.out.println("The temperature in Celsius is: " + result + " degrees.");
		
		}
	
	static double convertFtoC(double degF) {
		return (degF -32) * (5/9.);
	}
		
	//"Convert F to C" = result; Variable "temp" = variable "degF";
	//Static means that every time the value shows up, it is the given constant.
	//Final means that it cannot be changed
	
	}